#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

char g_arr[20];
int g_count = 0;
char* reverse(char* arr);
int main()
{
	char arr[] = "nishishabima?";
    reverse(arr);
    printf("%s",g_arr);

	return 0;
}

char* reverse(char* arr)
{
    arr++;
    if (*arr != '\0')
    {
    reverse(arr);
    }
    arr--;
    g_arr[g_count++] = *arr;

}

#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

char g_arr[20];
int g_count = 0;
char* reverse(char* arr);
int main()
{
    char arr[] = "nishishabima?";
    reverse(arr);
    printf("%s", g_arr);

    return 0;
}

char* reverse(char* arr)
{
    arr++;
    if (*arr != '\0')
    {
        reverse(arr);
    }
    arr--;
    g_arr[g_count++] = *arr;

}